// ant主题配置 theme/themeConfig.ts
import { theme,ThemeConfig } from "antd";

export const primaryColor = "#3b4bff";
export const primaryColorDark = "#4c5aff";
export const darkTheme:ThemeConfig = {
  token: {
    colorPrimary: primaryColor,
    colorBgBase: '#0a0a0a',
    colorLink: "#f0f0f0",
    colorLinkActive: "#f0f0f0",
    colorLinkHover: primaryColor,
    fontSize: 16,
    borderRadius: 8,
    wireframe: true
  },
  algorithm: theme.darkAlgorithm
};
export const lightTheme:ThemeConfig = {
  token: {
    colorBgBase: '#ffffff',
    colorPrimary: primaryColorDark,
    colorLink: "#505050",
    borderRadius: 8,
    colorLinkActive: "#505050",
    colorLinkHover: primaryColor,
    colorSuccess: "#6acc39",
    fontSize: 16,
    wireframe: true
  },
  algorithm: theme.defaultAlgorithm
};
